﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;
using System.Windows.Controls;
using System.Windows;

namespace WPF.DazzleUI.Presentation
{
    public class AppearanceManager
    {
        private static void SetTheme(DazzleUIBackGroundType back)
        {

        }

        public static void SetTheme(Color backColor)
        {
            Application.Current.Resources["Color_ImageOrColor"] = Visibility.Visible;
            Application.Current.Resources["Image_ImageOrColor"] = Visibility.Collapsed;

            Application.Current.Resources["DazzleUI_BackGroudColor"] = backColor;
        }

        public static void SetTheme(ImageSource backImage)
        {
            Application.Current.Resources["Color_ImageOrColor"] = Visibility.Collapsed;
            Application.Current.Resources["Image_ImageOrColor"] = Visibility.Visible;

            Application.Current.Resources["DazzleUI_BackGroudImage"] = backImage;
        }
    }


    public interface IDazzleUIBackGround
    { 

    }

    public class ImageBackGround : IDazzleUIBackGround
    {

    }

    public class ColorBackGround : IDazzleUIBackGround
    {
 
    }

    public enum DazzleUIBackGroundType
    {
        Image =0,
        Color = 1
    }
}